package pck_tramitedocu.pck_src.pck_business;

import pck_tramitedocu.pck_src.pck_dao.Itf_MailDao;
import pck_tramitedocu.pck_src.pck_pojos.Cls_Email;
import pck_tramitedocu.pck_src.pck_pojos.TramiteDocuException;

public class Cls_MailBusiness implements Itf_MailBusiness {

    protected Itf_MailDao mailDao;

    public void setMailDao(Itf_MailDao mailDao) {
        this.mailDao = mailDao;
    }

    public String enviarMensaje(Cls_Email email) throws TramiteDocuException {
        return this.mailDao.sendMensaje(email);
    }
}